﻿CREATE PROCEDURE dbo.uspChequeCategoryWithPARIFetchCondition
	@condition nvarchar(500)
AS
BEGIN
	DECLARE @query nvarchar(2000)
	SET @query = 'SELECT * FROM [ChequeCategoryWithPARI]'
	IF @Condition IS NOT NULL
		IF @Condition <> ''
			SET @query = @query + ' WHERE ' + @condition
	EXEC(@query)
END